package com.zth.dao;

import com.zth.entity.User;


import java.util.List;

/**
 * (User)表数据库访问层
 *
 * @author makejava
 * @since 2022-10-19 09:58:25
 */
public interface UserDao {
//配合分页
    List<User> queryUser();
    //注册 1.2
    Boolean reg (User user);
//登录
   User queryUserinfoByName(String username);

    List<User> queryUserByName(String username);




    Integer updStatus(User user);

    Integer updUserinfo(User user);

    User queryById(Integer id);



}

